function cityChange(e) {
    var t = "";
    if ("01" == e) var a = priceCity01;
    if ("02" == e) a = priceCity02;
    if ("03" == e) a = priceCity03;
    if ("04" == e) a = priceCity04;
    for (var i = 0; i < a.length; i++) t += '<li data-id="' + a[i].cityCode + '">' + a[i].cityName + "</li>";
    $(".city-content .content-inner").html(t)
}


$(".ptice-tab li").click(function() {
    alert("helloworld");
    var e = $(this).attr("data-id");
    cityChange(e);
    var t = $(".city-content .conten").attr("data-id");
    priceCity[parseInt(e) - 1][t] ? csPrice(e, t) : (csPrice(e, "310100"), $(".city-content .conten").attr("data-id", "310100"), $(".city-content .conten").text("上海")), $(this).siblings().removeClass("on"), $(this).addClass("on")
})